package cn.zhaozhiqi.service;

import cn.zhaozhiqi.pojo.domain.Order;
import cn.zhaozhiqi.pojo.dto.app.CreateOrderDto;
import cn.zhaozhiqi.pojo.dto.app.DriverLocationDto;
import cn.zhaozhiqi.pojo.dto.app.OtherFreeDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author zhaozhiqi
 * @since 2024-12-30
 */
public interface IOrderService extends IService<Order> {

    Object saveOrder(CreateOrderDto dto);

    Object autoCancelOrder(String orderNo);

    Object killOrder(String orderNo);

    Object currentOrder();

    Object getCustomerOrder();

    Object setDriverGEOInRedis(DriverLocationDto dto);

    Object pullDriverLocation();

    Object driverArrive();

    Object startDriving();

    Object endDriving();

    Object confirmOtherFree(OtherFreeDto dto);

    Object driverGetBill(String orderNo);

    Object SendPayorder(String orderNo);

    Object SendCustomerDetail(String orderNo);
}
